package net.hn.hnms.biz.energy.service;

import net.hn.hnms.biz.energy.domain.WaterSettlement;
import net.hn.hnms.biz.energy.request.WaterSettlementReq;
import net.hn.hnms.biz.energy.vo.WaterSettlementVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.List;

public interface WaterSettlementService{

    /**
     * 用水结算
     * @param waterSettlementReq
     * @return
     */
    int insert(WaterSettlementReq waterSettlementReq);

    /**
     * 删除用水结算
     * @param idList
     */
    void updateDeleteByIds(List<String> idList);
    /**
     * 单个更新 根据id主键 更新供水单位
     * @param waterSettlementReq
     */
    void updateById(WaterSettlementReq waterSettlementReq);

    /**
     *
     * @param id
     * 通过主键id 查询详情
     */
    WaterSettlement selectDetailById(String id);
    /**
     *
     * @param waterSettlementReq
     * 查询用水结算列表
     */
    ResponsePage<WaterSettlementVo> selectPageList(WaterSettlementReq waterSettlementReq, PageQuery pageQuery);
}
